﻿package ch.feinheit.feinslide.boards.elements {	import flash.display.MovieClip;	import flash.text.TextField;	import flash.text.TextFieldAutoSize;		/**	 * This class is to display the content text for the image board.	 *	 * @author		Armin Brunner 	 */	public class ImageContent extends ImageContentAsset 	{		/**		 * Constructor		 * which sets up the text and the width.		 *		 * @author		Armin Brunner 		 * @params		configXML:		the xml part with the configuration for this class.		 */		public function ImageContent(configXML:XML):void 		{			this.x = configXML.@posX;			this.y = configXML.@posY;						this._contentTitle.text = configXML.title;			//this._contentTitle.autoSize = TextFieldAutoSize.RIGHT;						this._contentText.text = configXML.text;			//this._contentText.autoSize = TextFieldAutoSize.RIGHT;									this._contentTitle.width = this._contentText.width = configXML.@width;			this._contentTitle.x = this._contentText.x = configXML.@width*(-1);		}	}	}